﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.TD
{
    /// <summary>
    /// 报废单
    /// </summary>
    [Table("TD_Scrap")]
    public partial class TD_Scrap
    {

        /// <summary>
        /// 报废单id(回货报废出库)
        /// </summary>
        [Key, Column(Order = 1)]
        public string Id { get; set; }

        /// <summary>
        /// 报废总数量
        /// </summary>
        public Double? Nums { get; set; }

        /// <summary>
        /// (报废状态(0待审核 1已审核 2已出库 3已驳回))
        /// </summary>
        public Int32? State { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 删除状态
        /// </summary>
        public Boolean? Deleted { get; set; }

        /// <summary>
        /// 报废原因
        /// </summary>
        public String Remarks { get; set; }
        /// <summary>
        /// 二维码
        /// </summary>
        public string QrCode { get; set; }

    }
}